package com.xhsj.user.sms.purchase.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xhsj.user.sms.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 采购订单-支付申请表
 * </p>
 *
 * @author suxiaolin
 * @since 2020-04-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tb_purchase_subtask_payment_apply")
public class TbPurchaseSubtaskPaymentApply extends BaseEntity<TbPurchaseSubtaskPaymentApply> {

    private static final long serialVersionUID = 1L;

    /**
     * 业务id
     */
    @TableField("data_id")
    private String dataId;

//    /**
//     * 采购任务表id
//     */
//    @TableField("purchase_task_id")
//    private String purchaseTaskId;
//
//    /**
//     * 采购订单主表id
//     */
//    @TableField("purchase_order_id")
//    private String purchaseOrderId;
//
//    /**
//     * 采购订单子任务表id
//     */
//    @TableField("purchase_subtask_id")
//    private String purchaseSubtaskId;

    /**
     * 付款金额
     */
    @TableField("payment_money")
    private BigDecimal paymentMoney;

    /**
     * 批次 0 全款 1 预付款 2 二期款 3 尾款
     */
    @TableField("batch")
    private Integer batch;

    /**
     * 审核状态 0未审核 1审核通过 2 审核退回
     */
    @TableField("audit_status")
    private Integer auditStatus;

    /**
     * 终止合同申请id
     */
//    @TableField("termination_contract_id")
//    private String terminationContractId;


}
